package com.zjlp.im.netty.session;

import io.netty.channel.ChannelHandlerContext;

/**
 * Created by Administrator on 2016/11/2.
 */
public class UserSession {
    private String username;
    private ChannelHandlerContext context;

    public UserSession(String username, ChannelHandlerContext context) {
        this.username = username;
        this.context = context;
    }

    public UserSession() {
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public ChannelHandlerContext getContext() {
        return context;
    }

    public void setContext(ChannelHandlerContext context) {
        this.context = context;
    }
}
